<!DOCTYPE html>
<html>
  <head>
    <title>Alerts</title>
  </head>
  <body>
    <input id=alert type=button onclick="alert('ok')" value=Alert>
    <input id=confirm type=button onclick="this.value = confirm('set the value')" value=Confirm>
    <input id=prompt type=button onclick='this.value = prompt("enter your name", "John Doe")' value=Prompt>
    <input id=timeout-alert type=button onclick="setTimeout('alert(\'ok\')', 3000)" value=Timeout-Alert>
  </body>
</html>
